import weaviate

class Database:
    def __init__(self):
        self.client = weaviate.connect_to_local(host="192.168.0.108")

    def get_client(self):
        return self.client


# 创建一个数据库实例
DB = Database()
